package cn.edu.ncut.cs.springboot.springbootmybatisplus.service;

import cn.edu.ncut.cs.springboot.springbootmybatisplus.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.lang.NonNull;

import java.util.Optional;
import java.util.List;
/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ncut
 * @since 2024-12-07
 */
public interface IUserService extends IService<User> {

    Optional<User> getByUsername(@NonNull String username);
}

